﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AttributesExercises
{
    class VersionsInAction
    {
        [Version("Hello ver.1")]
        public void PrintHello()
        {
            Console.WriteLine("Hello!");
        }

        [Version("Integers ver.2")]
        public int GetFirstPossitiveInteger()
        {
            int firstPossitiveInteger = 1;
            return firstPossitiveInteger;
        }

        [Version("Greet ver.1", "Greets the user")]
        public void GreetUser()
        {
            Console.WriteLine("Yo! What's up!");
        }
    }
}
